package easy.netty.net.core;

/**
 * @author cengy
 */
public abstract class AbsIoService
        implements IoService {

    protected Endpoint endpoint;

    public AbsIoService(Endpoint endpoint) {
        this.endpoint = endpoint;
    }

    public Endpoint getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(Endpoint endpoint) {
        this.endpoint = endpoint;
    }
}
